package com.peas.platform.module.icims.base.approve.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 审批模版
@Data
@EqualsAndHashCode(callSuper = false)
public class ApproveDto extends BaseDto {

    // 审批模版类型
    // 枚举取值:ApproveType
    @Comment(value = "审批模版类型", enumType = "ApproveType")
    @Condition(operator = ConditionOperator.IN)
    private String approveType;

    // 审批模版编码
    @Comment(value = "审批模版编码")
    @Condition(operator = ConditionOperator.IN)
    private String approveCode;

    // 审批模版名称
    @Comment(value = "审批模版名称")
    private String approveName;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    private String state;

    // 所属部门
    // 【组织架构表】
    @Comment(value = "所属部门")
    private Long organizationId;

    // 所属用户
    // 【用户表】
    @Comment(value = "所属用户")
    private Long userId;

    // 系统模块
    // 枚举取值:Module
    @Comment(value = "系统模块", enumType = "Module")
    private String module;

    // 业务模块
    // 枚举取值:ApproveBusiness
    @Comment(value = "业务模块", enumType = "ApproveBusiness")
    private String business;

    // 权重
    @Comment(value = "权重")
    private Integer weight;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
